<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsUrKons" targetNamespace="http://tempuri.org/dsUrKons.xsd" xmlns:mstns="http://tempuri.org/dsUrKons.xsd" xmlns="http://tempuri.org/dsUrKons.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="p301ConnString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="p301ConnString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.p301.Properties.Settings.GlobalReference.Default.p301ConnString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="taAnalizUr_" GeneratorDataComponentClassName="taAnalizUr_" Name="dtAnalizUr_" UserDataComponentName="taAnalizUr_">
            <MainSource>
              <DbSource ConnectionRef="p301ConnString (Settings)" DbObjectName="p301.dbo.bo_analiz_ur_" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     K_ANALIZ_UR, K_RAZDEL, N_PARAM, 
CASE C_FACT_KONS WHEN 0 THEN null ELSE C_FACT_KONS  END C_FACT_KONS, 
CASE C_TEL_KONS  WHEN 0 THEN null ELSE C_TEL_KONS	END C_TEL_KONS, 
CASE C_PISM_KONS WHEN 0 THEN null ELSE C_PISM_KONS  END C_PISM_KONS, 
CASE C_NET_KONS	 WHEN 0 THEN null ELSE C_NET_KONS	END C_NET_KONS, 
CASE C_UKS_KONS	 WHEN 0 THEN null ELSE C_UKS_KONS	END C_UKS_KONS
FROM         bo_analiz_ur_
WHERE     (K_ANALIZ_UR = @pK_ANALIZ_UR)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="pK_ANALIZ_UR" ColumnName="K_ANALIZ_UR" DataSourceName="p301.dbo.bo_analiz_ur_" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pK_ANALIZ_UR" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="K_ANALIZ_UR" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="K_ANALIZ_UR" DataSetColumn="K_ANALIZ_UR" />
              <Mapping SourceColumn="K_RAZDEL" DataSetColumn="K_RAZDEL" />
              <Mapping SourceColumn="N_PARAM" DataSetColumn="N_PARAM" />
              <Mapping SourceColumn="C_FACT_KONS" DataSetColumn="C_FACT_KONS" />
              <Mapping SourceColumn="C_TEL_KONS" DataSetColumn="C_TEL_KONS" />
              <Mapping SourceColumn="C_PISM_KONS" DataSetColumn="C_PISM_KONS" />
              <Mapping SourceColumn="C_NET_KONS" DataSetColumn="C_NET_KONS" />
              <Mapping SourceColumn="C_UKS_KONS" DataSetColumn="C_UKS_KONS" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="taAnalizUr" GeneratorDataComponentClassName="taAnalizUr" Name="dtAnalizUr" UserDataComponentName="taAnalizUr">
            <MainSource>
              <DbSource ConnectionRef="p301ConnString (Settings)" DbObjectName="p301.dbo.vRepUrKonsList" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     K_ANALIZ_UR, N_PERIOD, D_ZAP
FROM         vRepUrKonsList
WHERE     (K_ANALIZ_UR = @pK_ANALIZ_UR)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="pK_ANALIZ_UR" ColumnName="K_ANALIZ_UR" DataSourceName="p301.dbo.vRepUrKonsList" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pK_ANALIZ_UR" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="K_ANALIZ_UR" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="K_ANALIZ_UR" DataSetColumn="K_ANALIZ_UR" />
              <Mapping SourceColumn="N_PERIOD" DataSetColumn="N_PERIOD" />
              <Mapping SourceColumn="D_ZAP" DataSetColumn="D_ZAP" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsUrKons" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dsUrKons" msprop:Generator_DataSetName="dsUrKons">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="dtAnalizUr_" msprop:Generator_UserTableName="dtAnalizUr_" msprop:Generator_RowDeletedName="dtAnalizUr_RowDeleted" msprop:Generator_RowChangedName="dtAnalizUr_RowChanged" msprop:Generator_RowClassName="dtAnalizUr_Row" msprop:Generator_RowChangingName="dtAnalizUr_RowChanging" msprop:Generator_RowEvArgName="dtAnalizUr_RowChangeEvent" msprop:Generator_RowEvHandlerName="dtAnalizUr_RowChangeEventHandler" msprop:Generator_TableClassName="dtAnalizUr_DataTable" msprop:Generator_TableVarName="tabledtAnalizUr_" msprop:Generator_RowDeletingName="dtAnalizUr_RowDeleting" msprop:Generator_TablePropName="dtAnalizUr_">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="K_ANALIZ_UR" msprop:Generator_UserColumnName="K_ANALIZ_UR" msprop:Generator_ColumnVarNameInTable="columnK_ANALIZ_UR" msprop:Generator_ColumnPropNameInRow="K_ANALIZ_UR" msprop:Generator_ColumnPropNameInTable="K_ANALIZ_URColumn" type="xs:int" minOccurs="0" />
              <xs:element name="K_RAZDEL" msprop:Generator_UserColumnName="K_RAZDEL" msprop:Generator_ColumnVarNameInTable="columnK_RAZDEL" msprop:Generator_ColumnPropNameInRow="K_RAZDEL" msprop:Generator_ColumnPropNameInTable="K_RAZDELColumn" type="xs:int" minOccurs="0" />
              <xs:element name="N_PARAM" msprop:Generator_UserColumnName="N_PARAM" msprop:Generator_ColumnVarNameInTable="columnN_PARAM" msprop:Generator_ColumnPropNameInRow="N_PARAM" msprop:Generator_ColumnPropNameInTable="N_PARAMColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="C_FACT_KONS" msprop:Generator_UserColumnName="C_FACT_KONS" msprop:Generator_ColumnVarNameInTable="columnC_FACT_KONS" msprop:Generator_ColumnPropNameInRow="C_FACT_KONS" msprop:Generator_ColumnPropNameInTable="C_FACT_KONSColumn" type="xs:int" minOccurs="0" />
              <xs:element name="C_TEL_KONS" msprop:Generator_UserColumnName="C_TEL_KONS" msprop:Generator_ColumnVarNameInTable="columnC_TEL_KONS" msprop:Generator_ColumnPropNameInRow="C_TEL_KONS" msprop:Generator_ColumnPropNameInTable="C_TEL_KONSColumn" type="xs:int" minOccurs="0" />
              <xs:element name="C_PISM_KONS" msprop:Generator_UserColumnName="C_PISM_KONS" msprop:Generator_ColumnVarNameInTable="columnC_PISM_KONS" msprop:Generator_ColumnPropNameInRow="C_PISM_KONS" msprop:Generator_ColumnPropNameInTable="C_PISM_KONSColumn" type="xs:int" minOccurs="0" />
              <xs:element name="C_NET_KONS" msprop:Generator_UserColumnName="C_NET_KONS" msprop:Generator_ColumnVarNameInTable="columnC_NET_KONS" msprop:Generator_ColumnPropNameInRow="C_NET_KONS" msprop:Generator_ColumnPropNameInTable="C_NET_KONSColumn" type="xs:int" minOccurs="0" />
              <xs:element name="C_UKS_KONS" msprop:Generator_UserColumnName="C_UKS_KONS" msprop:Generator_ColumnVarNameInTable="columnC_UKS_KONS" msprop:Generator_ColumnPropNameInRow="C_UKS_KONS" msprop:Generator_ColumnPropNameInTable="C_UKS_KONSColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dtAnalizUr" msprop:Generator_UserTableName="dtAnalizUr" msprop:Generator_RowDeletedName="dtAnalizUrRowDeleted" msprop:Generator_RowChangedName="dtAnalizUrRowChanged" msprop:Generator_RowClassName="dtAnalizUrRow" msprop:Generator_RowChangingName="dtAnalizUrRowChanging" msprop:Generator_RowEvArgName="dtAnalizUrRowChangeEvent" msprop:Generator_RowEvHandlerName="dtAnalizUrRowChangeEventHandler" msprop:Generator_TableClassName="dtAnalizUrDataTable" msprop:Generator_TableVarName="tabledtAnalizUr" msprop:Generator_RowDeletingName="dtAnalizUrRowDeleting" msprop:Generator_TablePropName="dtAnalizUr">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="K_ANALIZ_UR" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="K_ANALIZ_UR" msprop:Generator_ColumnVarNameInTable="columnK_ANALIZ_UR" msprop:Generator_ColumnPropNameInRow="K_ANALIZ_UR" msprop:Generator_ColumnPropNameInTable="K_ANALIZ_URColumn" type="xs:int" />
              <xs:element name="N_PERIOD" msdata:ReadOnly="true" msprop:Generator_UserColumnName="N_PERIOD" msprop:Generator_ColumnVarNameInTable="columnN_PERIOD" msprop:Generator_ColumnPropNameInRow="N_PERIOD" msprop:Generator_ColumnPropNameInTable="N_PERIODColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="356" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="D_ZAP" msprop:Generator_UserColumnName="D_ZAP" msprop:Generator_ColumnVarNameInTable="columnD_ZAP" msprop:Generator_ColumnPropNameInRow="D_ZAP" msprop:Generator_ColumnPropNameInTable="D_ZAPColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dtAnalizUr" />
      <xs:field xpath="mstns:K_ANALIZ_UR" />
    </xs:unique>
  </xs:element>
</xs:schema>